package cn.myschool.myschool.websocket;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author oldliu
 * @since 1.0
 */
@Component
public class MessageService {
    public List<String> getAllMes(){
        List list=new ArrayList<>();
        list.add("nihao");
        list.add("钱钱要还");
        list.add("利息6%");
        return list;

    }
}
